package estyle.auto.nkornilova.pages;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;

/**
 * Created with IntelliJ IDEA.
 * User: nkornilova
 * Date: 06.05.13
 * Time: 13:30
 * To change this template use File | Settings | File Templates.
 */
public class MainPage extends AnyPage {

    public MainPage(PageManager pages) {
        super(pages);
    }

    @FindBy(id = "headerTable")
    private WebElement mainPage;

    public boolean isVisible()
    {
        return mainPage.isDisplayed();
    }

}
